// http://120.211.58.75:50003/admin.Gaindex/department
import request from "@/utils/request";
// /bankNewInfo
// http://120.211.58.75:50003/admin.index/editDutyConfig
export const editDutyConfig = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/editDutyConfig",
    method: "POST",
    data,
  });
};

// 到岗率预警学校 http://120.211.58.75:50003/admin.index/dutyStatistics
export const dutyStatistics = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/dutyStatistics",
    method: "POST",
    data,
  });
};
// 未到岗率预警排名 http://120.211.58.75:50003/admin.index/dutyStatisticsOrder
export const dutyStatisticsOrder = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/dutyStatisticsOrder",
    method: "POST",
    data,
  });
};
// 到岗率合格数量 http://120.211.58.75:50003/admin.index/dutyStatisticsDwlx
export const dutyStatisticsDwlx = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/dutyStatisticsDwlx",
    method: "POST",
    data,
  });
};
// 预警趋势对比 http://120.211.58.75:50003/admin.index/dutyStatisticsDate
export const dutyStatisticsDate = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/dutyStatisticsDate",
    method: "POST",
    data,
  });
};
// 护学岗每日数量统计 http://120.211.58.75:50003/admin.index/userStatistics
export const userStatistics = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/userStatistics",
    method: "POST",
    data,
  });
};
// 到岗率预警时间 ttp://120.211.58.75:50003/admin.index/dutyConfig
export const dutyConfig = (data) => {
  // console.log(data);
  return request({
    url: "/admin.index/dutyConfig",
    method: "POST",
    data,
  });
};
